package lu.med.praxiswahl.wahlumed.client.menustructure;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import lu.med.praxiswahl.wahlumed.client.utilities.CalendarDateIntervalChooser;
import lu.med.praxiswahl.wahlumed.client.wclient.Main;

/**
 * 
 * @author Lars Holger Roth
 */
public class KalenderVonBisActionListener implements ActionListener {
	private Main dataManager;
	private int mode;

	public KalenderVonBisActionListener(Main dataManager, int mode) {
		this.dataManager = dataManager;
		this.mode = mode;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		//new FromToDialog(dataManager, dataManager, mode);
		new CalendarDateIntervalChooser(dataManager, dataManager, mode);
	}
}
